CALL 0_header.cmd
if defined cookie goto :auto

ECHO There are two versions of NTFS, one for XP and one for Windows 7
ECHO Which version of NTFS would you like to use?
ECHO.
ECHO 1. Use XP NTFS /nt52 on Windows drive
ECHO 2. Use Win 7 NTFS /nt60 on System and Windows drives
ECHO 0. Go back to Main Menu
ECHO.
ECHO To run the command manually run bootsect /nt60 or /nt52 w:
ECHO.

set /p menu="%choice_text%"
if "%menu%" == "2" goto :win7
if "%menu%" == "1" goto :xp
if "%menu%" == "0" goto :imager

:break
goto :imager

:auto
set cookie=gimagex
goto :win7

:xp
CALL 0_header.cmd
ECHO Converting hard drives to NT52 (XP Mode)
ECHO.
bootsect.exe /nt52 w:
goto wait

:win7
CALL 0_header.cmd
ECHO Converting hard drives to NT60 (Vista/Windows 7 Mode)
ECHO.
bootsect.exe /nt60 s:
bootsect.exe /nt60 w:
goto wait

:wait
ECHO.
ECHO Returning to main menu
ECHO.
ping 127.0.0.1 -n 4 >nul
goto complete

:complete
REM setting the step changes the status on return to main menu
set step=3

:imager
0_main_menu.cmd
goto end

:end
